package com.wr.hangzhounewlight.obj.database;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author yuanzhizhuo
 * createDate 2025/11/7
 */
@Data
@NoArgsConstructor
@TableName("change_log")
public class ChangeLogEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String orderNo;
    private String checkMessage;
    private String log;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime insertTime;

    public ChangeLogEntity(String orderNo, String checkMessage, String log) {
        this.orderNo = orderNo;
        this.checkMessage = checkMessage;
        this.log = log;
    }

}
